package com.kuanter.kuanterauto.activity.setting;

import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.kuanter.kuanterauto.R;
import com.kuanter.kuanterauto.baseui.BaseActivity_NoBar;

/** 
 * @author utopia
 * @version 2013-12-3 下午2:10:22
 * 
 */
public class UseIntroActivity extends BaseActivity_NoBar {
	TextView tv_cz;
	TextView tv_jh;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.set_use_intro);
		initUI();
	}

	private void initUI() {
		TextView title = (TextView)findViewById(R.id.top_middle);
		title.setText("使用说明");
		
		LinearLayout home_chose_City = (LinearLayout)findViewById(R.id.home_chose_City);
		home_chose_City.setVisibility(View.GONE);
		
		tv_jh = (TextView) findViewById(R.id.tv_jh);
		tv_cz = (TextView) findViewById(R.id.tv_cz);
		String html_jh = "<font color=\"#282828\">登录</font><font color=\"#008cf0\">宽途APP、</font><font color=\"#282828\">官网 </font><font color=\"#008cf0\">kuanter.com</font><font color=\"#282828\">或拨打</font> <font color=\"#008cf0\">400 6666 377</font>";
		tv_jh.setText(Html.fromHtml(html_jh));
		
		String html_cz = "<font color=\"#282828\">在线充值:登录</font><font color=\"#008cf0\">kuanter.com</font>,<font color=\"#282828\">点击\"卡片充值\";现金充值:前往宽途服务网点充值</font>";
		tv_cz.setText(Html.fromHtml(html_cz));
	}

	public void exit(View view) {
		finish();
	}
}
